package com.rr.singleton;

//饿汉式
public class Hungry3 {

    private byte[] data=new byte[1024*1024];
    private byte[] data1=new byte[1024*1024];
    private byte[] data2=new byte[1024*1024];
    private byte[] data3=new byte[1024*1024];

    //私有的静态属性
    private final static Hungry3 HUNGRY_3=new Hungry3();

    //私有的构造方法
    private Hungry3(){

    }

    //公共的静态入口
    public static Hungry3 getInstance(){
        return HUNGRY_3;
    }
}
